// import { useTimeout } from "ahooks";
import React, { useRef, useState, useEffect } from "react";
import useTimeout from "../../hooks/customs/useTimeout";


const TestUseTimeout = () => {
  const [state, setState] = useState(1);
  useTimeout(() => {
    setState(state + 1)
  }, 3000)

  return  <div>{state}</div>;
}

export default TestUseTimeout
